package cn.tedu._05weibo.base.response;


import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum StatusCode {
    USERNAME_ERROR(1000,"用户名错误"),
    PASSWORD_ERROR(1001,"密码错误"),
    USERNAME_EXIST(1002,"用户名被占用"),
    NOT_LOGIN(1003,"未登录"),
    OPERATION_SUCCESS(2001,"操作成功"),
    OPERATION_FAILED(2002,"操作失败"),
    WEIZHI_EXCEPTION(6666,"未知异常"),
    VALIDATED_ERROR(3000,"参数校验失败");


    private Integer statusCode;
    private String message;
}
